package com.homedo.odin.solution.dao;

import com.homedo.core.common.base.dao.BaseDao;
import com.homedo.odin.solution.model.dto.BrandEntranceBean;
import com.homedo.odin.solution.model.dto.BrandOwnerBean;
import com.homedo.odin.solution.model.entity.BrandOwner;
import com.homedo.odin.solution.model.response.pc.brand.BrandOwnerDetailResponse;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * <p> 品牌 Mapper 接口 </p>
 *
 * @author HarveyDing
 * @since 2018-03-08
 */
public interface BrandOwnerMapper extends BaseDao<BrandOwner> {

    BrandOwner getBrandOwnerById(@Param("id") Integer id);

    List<BrandOwner> getBrandCal(@Param("number") Integer number);

    List<BrandOwnerBean> queryBrandFirmsEntrance();

    List<BrandEntranceBean> queryBrandEntranceList();

    BrandOwner queryLateBrand();

    List<BrandOwner> getBrandsByType(@Param("typeId") Integer typeId);

    List<BrandOwnerDetailResponse> getBrandOwners(@Param("brandName") String brandName, @Param("isMap") Integer isMap);
}